<!DOCTYPE html>
<html>
<head>
	<meta content="IE=edge" http-equiv="X-UA-Compatible">
	<!-- <meta charset="UTF-8"> -->
	<@mup.header/>
	<script>
		window.contextPath = '${gatewayPath}';
		window.contextLocale = '${request.getLocale()}';
		window.resPar = ${resPar};
		window.resParam = ${resParam};
		window.row = {"id":"${serviceId}", "flowid":"-1", name: "${name}", ignore: true, type: '${type}', flowName: '${flowName}', auth: '${auth}', approveStatus: '${approveStatus}',interDescript:'${interDescript}',launchState:'${launchState}'};
		window.analyse_id = "${themeid}";
	</script>
	<@mup.link href="/css/layout-default.css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/css/icon.css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/css/jsPlumb/jsPlumbToolkit-defaults-2.2.4.css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/css/ui.jqgrid.css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/css/leaflet/leaflet.css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/css/leaflet/leaflet.marker.highlight.css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/css/jquery.treeTable.css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/css/zTreeStyle.css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/css/plugin/plugin.yui.min.css?v=2023-04-24T10:54:57Z" model="product"/>
	<@mup.link href="/css/tempo.jquery-ui.theme.[theme].css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/css/plugin/theme/tempo-plugin.theme.[theme].css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/script/config/css/style.css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/css/plugin/tempo-validator.css?v=2023-04-24T10:54:57Z"/>
	<@mup.link href="/css/plugin/tempo-validatebox.css?v=2023-04-24T10:54:57Z"/>
	<@mup.link href="/css/plugin/tempo-tempoprogressbar.css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/css/plugin/tempo-partprogressbar.css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/css/plugin/tempo-selectmenu.css?v=2023-04-24T10:54:57Z"/>
	<@mup.link href="/css/plugin/tempo-button.css?v=2023-04-24T10:54:57Z"/>
	<@mup.link href="/css/plugin/tempo-dialog.css?v=2023-04-24T10:54:57Z"/>
	<@mup.link href="/css/plugin/tempo-datagrid.css?v=2023-04-24T10:54:57Z"/>
	<@mup.link href="/css/plugin/tempo-alert.css?v=2023-04-24T10:54:57Z"/>
	<@mup.link href="/mine/css/tempo-columnselect.css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/ai_runtime/css/app-publish.css?v=2023-04-24T10:54:57Z"  model="all"/>
	<@mup.link href="/css/timepicker/jquery-ui-timepicker-addon.min.css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/css/popover/jquery.webui-popover.min.css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/css/plugin/tempo-tabs.css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/ai_runtime/css/app-task-configuration.css?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.link href="/ai_design/css/ai-theme.css?v=2023-04-24T10:54:57Z"  model="all"/>

	<@mup.script src="/js/dateUtils.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/tempo-compare-utils.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/jquery-validate.min.js?v=2023-04-24T10:54:57Z"  model="all"/>
	<@mup.script src="/js/tempo-utils.js?v=2023-04-24T10:54:57Z"  model="all"/>
	<@mup.script src="/js/des-utils.yui.min.js?v=2023-04-24T10:54:57Z"  model="all"/>
	<@mup.script src="/js/regexUtil.js?v=2023-04-24T10:54:57Z"  model="all"/>
	<@mup.script src="/js/jquery.form.js?v=2023-04-24T10:54:57Z"  model="all"/>
	<@mup.script src="/js/jquery.jqGrid.min.js?v=2023-04-24T10:54:57Z"  model="all"/>
	<@mup.script src="/js/jquery.layout.yui.min.js?v=2023-04-24T10:54:57Z"  model="all"/>
	<@mup.script src="/js/jqgrid/i18n/grid.locale-[locale].js?v=2023-04-24T10:54:57Z"  model="all"/>
	<@mup.script src="/js/plugin/i18n/tempo-plugin-[locale].js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/plugin/plugin.yui.min.js?v=2023-04-24T10:54:57Z" model="product"/>
	<@mup.script src="/js/plugin/tempo-plugin-utils.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/plugin/tempo-module.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/plugin/tempo-validator.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/plugin/tempo-validatebox.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/plugin/tempo-numberbox.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/plugin/tempo-tempoprogressbar.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/plugin/tempo-partprogressbar.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/plugin/tempo-dialog.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/plugin/tempo-datagrid.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/plugin/tempo-alert.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/plugin/tempo-confirm.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/plugin/tempo-button.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/plugin/tempo-radio.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/plugin/tempo-checkbox.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/plugin/tempo-selectmenu.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/tempo-constant.js?v=2023-04-24T10:54:57Z"  model="all"/>
	<@mup.script src="/mine/plugins/selectpicker/js/selectpick.js?v=2023-04-24T10:54:57Z"  model="all"/>
	<@mup.script src="/mine/js/mine-util.js?v=2023-04-24T10:54:57Z"  model="all"/>
	<@mup.script src="/js/plugin/tempo-tabs.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/timepicker/jquery-ui-timepicker-addon.min.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/datepicker/i18n/datepicker-${request.getLocale()}.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/js/timepicker/i18n/jquery-ui-timepicker-${request.getLocale()}.js?v=2023-04-24T10:54:57Z" model="all"/>
	<script>
		(function(){
			var i18ns = ${i18ndict!'{}'};
			for ( var i in i18ns) {
				TempoUtils.locale(i, i18ns[i]);
			};
		})();

	</script>
	<@mup.script src="/js/jsPlumb/jsPlumb-2.2.4.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/mine/js/mine-constants.js?v=2023-04-24T10:54:57Z" model="all"/>
	<@mup.script src="/mine/publish/js/mine-publish-config-service.js?v=2023-04-24T10:54:57Z" model="all"/>
	<mscript src="/mine/publish/js/script.js?v=2023-04-24T10:54:57Z" />
	<mscript src="${gatewayPath}/ai_runtime/js/app-task-configuration.js?v=2023-04-24T10:54:57Z"/>

	<style>
		.tempo-app-task-configuration-lib-panel{
			width: calc(45% - 19px)!important;
		}
	</style>
</head>
<body>
<div class="tempo-task-configuration">
	<div class="tempo-task-configuration-operation"></div>
	<#--		 	<div style="background: #ddd;height: 1px;"></div>-->
	<div class="app-task-config-container-body">
		<div class="app-task-config-container-left">
			<div class='tempo-mine-flow-job-container' <#--style="height:100%;width:95%;float:left;"-->>
				<form id="tempo-mine-task-flow-config" >
					<div class="base-info" sign="block" id="base-info">
						<div class="app-task-config-left-block-top">
							<span class="app-task-config-left-head-title">任务配置</span>
						</div>
						<div class="app-task-config-service-info-form">
							<table class="formLayout app-task-config-left-table-canedit" style="width: 380px">
								<tbody>
								<tr>
									<td class="app-task-config-left-td-label">
										<label for="name"><@spring.message "mine.publish-mine-job-grid-col-name"/></label>
									</td>
									<td colspan="3" class="app-task-config-left-td-content" id="task-name-td-content">
										<input name="name" ui-role="validatebox" class="task-td-content-disabled"
											   ui-options="validator: true, required: true, autofill:false, maxLength: 30"
											   style="min-width: 364px;">
									</td>
								</tr>
								<tr>
									<td class="app-task-config-left-td-label">
										<label for=""><@spring.message "mine.shengxiaoriqi"/></label>
									</td>
									<td class="tempo-task-td-width app-task-config-left-td-label" >
										<input name="starttime"  class="datefield task-td-content-disabled tempo-task-starttime-icon" ui-role='validatebox'
											   style="padding-left: 24px;border-width: 1px;"
											   ui-options='readonly: true' onfocus="this.blur()"
											   placeholder=<@spring.message "mine.dianjixuanze"/>
											   </input>
									</td>
									<td class="app-task-config-left-td-label " style="text-align: right; padding-right: 24px">
										<label for=""><@spring.message "mine.zhi"/></label>
									</td>
									<td class="tempo-task-td-right app-task-config-left-td-label" >
										<input name="endtime" class="datefield task-td-content-disabled tempo-task-starttime-icon" ui-role='validatebox'
											   style="padding-left: 24px;border-width: 1px;"
											   ui-options='readonly: true' onfocus="this.blur()"
											   placeholder=<@spring.message "mine.dianjixuanze"/>
											   </input>
									</td>
								</tr>
								</tbody>
							</table>
						</div>
					</div>

					<div class="schedule-info app-task-config-left-block" sign="block" id="schedule-info">
						<div class="app-task-config-left-block-top">
							<span class="app-task-config-left-head-title">调度配置</span>
						</div>
						<div class="app-task-config-service-info-form">
							<table class="formLayout app-task-config-left-table-canedit" style="width: 600px">
								<tbody>
								<tr>
									<td class="app-task-config-left-td-label">
										<label><@spring.message "mine.diaoduzhouqi"/></label>
									</td>
									<td class="app-task-config-left-td-label">
										<select name="triggertype" id="triggertype" >
											<option value="-2"><@spring.message "mine.publish-mine-job-triggertype-minute" /></option>
											<option value="-1"><@spring.message "mine.publish-mine-job-triggertype-hour" /></option>
											<option value="0"><@spring.message "mine.publish-mine-job-triggertype-day" /></option>
											<option value="1"><@spring.message "mine.publish-mine-job-triggertype-week" /></option>
											<option value="2"><@spring.message "mine.publish-mine-job-triggertype-month" /></option>
										</select>
									</td>
									<td></td>
									<td></td>
								</tr>

								<tr class="times-row">
									<td class="app-task-config-left-td-label">
										<label><@spring.message "mine.xuanzeshijian"/></label>
									</td>
									<td colspan="3">
										<div class='times-board' &lt;#&ndash;style="width:50%"&ndash;&gt;>

										</div>
									</td>
								</tr>

								<tr class="day-of-time-range-row">
									<td class="app-task-config-left-td-label">
										<label><@spring.message "mine.kaishishijian"/></label>
									</td>
									<td class="app-task-config-left-td-label">
										<input name="stime"  class="tempo-stime timefield start-time task-td-content-disabled" ui-role='validatebox'
											   ui-options='validator: true, required: false, readonly: true'
											   placeholder=<@spring.message "mine.dianjixuanze"/> value="00:00"></input>
									</td>
									<td class="app-task-config-left-td-label" style="text-align: right;">
										<label><@spring.message "mine.jiesushijian"/></label>
									</td>
									<td class="app-task-config-left-td-label">
										<input name="etime" class="tempo-etime timefield end-time task-td-content-disabled" ui-role='validatebox'
											   ui-options='validator: true, required: false, readonly: true'
											   placeholder=<@spring.message "mine.dianjixuanze"/>></input>
									</td>
								</tr>

								<tr class="day-of-time-row">
									<td class="app-task-config-left-td-label">
										<label><@spring.message "mine.jutishijian"/></label>
									</td>
									<td colspan='3'>
										<input name="stime"  class="juti-stime juti-time timefield start-time task-td-content-disabled" ui-role='validatebox'
											   ui-options='validator: true, required: false, readonly: true'
											   placeholder=<@spring.message "mine.dianjixuanze"/>  value="00:00">
									</td>
								</tr>

								<tr>
									<td class="app-task-config-left-td-label">
										<label><@spring.message "mine.jiangeshijian"/></label>
									</td>
									<td class="app-task-config-left-td-label">
										<input name="interval" ui-role="numberbox" class="task-td-content-disabled"
											   ui-options='filter:/^\d+$/, validator: true, required: true, readonly: false, width:50, precision: 0'
											   style="width: 50px"/>
									</td>
									<td class="app-task-config-left-td-label">
										<label class='internal-unit' style="margin-left: 5px;"></label>
									</td>
									<td></td>
								</tr>

								<tr class='time-interval-row'>
									<td class="app-task-config-left-td-label">
										<label><@spring.message "mine.xunhuanfangshi"/></label>
									</td>
									<td colspan="3" style="display:none;" id="tempo-task-xunhuanfangshi">
										<input name="runType" type="radio" ui-role='radio' class='time-of-day' value="outer-day"/></label>
										<label class='time-of-day'><@spring.message "mine.kuatianxunhuan"/></label>
										<input name="runType" type="radio" ui-role='radio' class='time-of-day' value="inner-day"/></label>
										<label class='time-of-day'><@spring.message "mine.tianneixunhuan"/></label>
										<input name="runType" type="radio" ui-role='radio' class='day-of-month' value="outer-month"/></label>
										<label class='day-of-month'><@spring.message "mine.kuayuexunhuan"/></label>
										<input name="runType" type="radio" ui-role='radio' class='day-of-month' value="inner-month"/></label>
										<label class='day-of-month'><@spring.message "mine.yueneixunhuan"/></label>
										<input name="runType" type="radio" ui-role='radio' class='month-of-year' value="outer-year"/></label>
										<label class='month-of-year'><@spring.message "mine.kuanianxunhuan"/></label>
										<input name="runType" type="radio" ui-role='radio' class='month-of-year' value="inner-year"/></label>
										<label class='month-of-year'><@spring.message "mine.nianneixuanhuan"/></label>
									</td>
								</tr>
								</tbody>
							</table>
						</div>

					</div>
					<div class="schedule-info app-task-config-left-block" sign="block" id="error-way">
						<div class="app-task-config-left-block-top">
							<span class="app-task-config-left-head-title">容错机制</span>
						</div>
						<div class="app-task-config-service-info-form-error app-task-config-service-info-form">
							<table id="app-task-config-service-info-form-error" class="formLayout app-task-config-left-table-canedit" style="width: 550px">
								<tbody>
								<tr>
									<td  style="width: 72px;">
										<label>任务提交报错</label>
									</td>
									<td>
										<select name="retry">
											<option value="0">忽略</option>
											<option value="1">重试</option>
										</select>
									</td>
									<td  name="retryNum" style="display: none;width: 50px">
										<label>重试次数</label>
									</td>
									<td name="retryNum" style="display: none">
										<input name="retryNum" ui-role="numberbox" ui-options="filter:/^\d+$/, precision:0, min:1,max:3,disabled:true,required: true,validator: true" value="1"/>
									</td>
								</tr>
								</tbody>
							</table>
						</div>
					</div>
				</form>

				<div class="flowparam-info app-task-config-left-block" sign="block" id="flowparam-info">
					<div class="app-task-config-left-block-top">
						<span class="app-task-config-left-head-title">流程参数</span>
					</div>
					<div class="app-task-config-flowparam-info-form">
						<form onsubmit="return false;" >
							<table id="flowparam-info-table"></table>
						</form>
					</div>
				</div>

				<div class="env-info app-task-config-left-block" sign="block" id="env-info">
					<div class="app-task-config-left-block-top">
						<!--环境参数title-->
						<span class="app-task-config-left-head-title">环境参数配置</span>
					</div>
					<div class="app-task-config-env-info-form">
						<form id="tempo-mine-flow-env-info" onsubmit="return false;" class="app-task-config-service-env-form">
							<table class="formLayout env-info-table app-task-config-left-table-canedit" style="word-wrap: normal !important; word-break: normal !important;">
								<tbody>
								</tbody>
							</table>
						</form>
					</div>
				</div>

				<div class="resource-info app-task-config-left-block" sign="block" id="resource-info">
					<div class="app-task-config-left-block-top">
						<span class="app-task-config-left-head-title">资源使用情况监控</span>
						<a class="ui-icon tempo-ui-icon tempo-ui-icon-refresh" style="cursor: pointer;margin-left: 15px"></a>
					</div>
					<div class="app-task-config-resource-info-form">
					</div>
				</div>

				<div class="limit-info app-task-config-left-block" sign="block" id="limit-info">
					<div class="app-task-config-left-block-top">
						<span class="app-task-config-left-head-title">Python资源限制</span>
					</div>
					<div>
						<form id="tempo-mine-flow-limit-info" onsubmit="return false;" class="app-task-config-limit-info-form">
							<table class="formLayout app-task-config-left-table-canedit">
								<tbody>
								<tr>
									<td class="app-task-config-left-td-label">
										<label ><@spring.message "mine.flow-rumtime-param-pythonCpu"/></label>
									</td>
									<td name="limitExtendCpu">
										1
									</td>
									<td class="app-task-config-left-td-label" style="padding-left: 60px">
										<label ><@spring.message "mine.flow-rumtime-parm-pythonMemory-label"/></label>
									</td>
									<td name="limitExtendMemory">
										1
									</td>
								</tr>
								</tbody>
							</table>
						</form>
					</div>
				</div>

			</div>
		</div>
		<div class="app-task-config-container-right">
			<div class="app-task-config-right-ul-groups">
				<ul class="app-task-config-right-ul">
					<li class="navItems"><a href="javascript:;void(0)" navTo="#base-info" class="navItems">任务配置</a></li>
					<li class="navItems"><a href="javascript:;void(0)" navTo="#schedule-info" class="navItems">调度配置</a></li>
					<li class="navItems"><a href="javascript:;void(0)" navTo="#error-way" class="navItems">容错机制</a></li>
					<li class="navItems"><a href="javascript:;void(0)" navTo="#flowparam-info" class="navItems"><@spring.message "mine.request_flowparams"/></a></li>
					<li class="navItems"><a href="javascript:;void(0)" navTo="#env-info" class="navItems">环境参数配置</a></li>
					<li class="navItems"><a href="javascript:;void(0)" navTo="#resource-info" class="navItems"><@spring.message "mine.flow_res_config"/></a></li>
					<li class="navItems"><a href="javascript:;void(0)" navTo="#limit-info" class="navItems">Python资源限制</a></li>
				</ul>
			</div>
		</div>
	</div>
</div>
</div>
<@mup.link href="/mine/css/mine.theme.[theme].css?v=2023-04-24T10:54:57Z"  model="all"/>
</body>
</html>